﻿using System;
using System.Collections.Generic;
using ExpenseSystem.Common.BaseModel;
namespace ExpenseSystem.Model
{
    [TableName("BAS_SALESPOINTEMPLOYEE")]
    public class SalesPointEmployeeModel:NormalModel
    {
        private long _employeeid;
        private long _salespointid;
   
        public virtual long EmployeeId
        {
            get { return _employeeid; }
            set
            {
                if (_employeeid == value)
                    return;
                _employeeid = value;
                if (!PropertyUpdated.Contains("EmployeeId"))
                    PropertyUpdated.Add("EmployeeId");
            }
        }

        public virtual long SalesPointId
        {
            get { return _salespointid; }
            set
            {
                if (_salespointid == value)
                    return;
                _salespointid = value;
                if (!PropertyUpdated.Contains("SalesPointId"))
                    PropertyUpdated.Add("SalesPointId");
            }
        }
    }
}
